
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities.Auditing;
using Yozeev.BusinessLogic;

namespace  Yozeev.BusinessLogic.Dtos
{
    public class DeviceEditDto
    {

        /// <summary>
        /// Id
        /// </summary>
        public Guid? Id { get; set; }         


        
		/// <summary>
		/// TicketStationId
		/// </summary>
		public string TicketStationId { get; set; }



		/// <summary>
		/// DeviceCode
		/// </summary>
		[Required(ErrorMessage="DeviceCode不能为空")]
		public string DeviceCode { get; set; }



		/// <summary>
		/// DeviceName
		/// </summary>
		[Required(ErrorMessage="DeviceName不能为空")]
		public string DeviceName { get; set; }



		/// <summary>
		/// IPAddress
		/// </summary>
		[Required(ErrorMessage="IPAddress不能为空")]
		public string IPAddress { get; set; }



		/// <summary>
		/// Port
		/// </summary>
		[Required(ErrorMessage="Port不能为空")]
		public string Port { get; set; }



		/// <summary>
		/// DeviceType
		/// </summary>
		[Required(ErrorMessage="DeviceType不能为空")]
		public DeviceTypeEnum DeviceType { get; set; }



		/// <summary>
		/// SecretKey
		/// </summary>
		[Required(ErrorMessage="SecretKey不能为空")]
		public string SecretKey { get; set; }



		/// <summary>
		/// IsEnabled
		/// </summary>
		[Required(ErrorMessage="IsEnabled不能为空")]
		public bool IsEnabled { get; set; }



		/// <summary>
		/// DeviceStatus
		/// </summary>
		[Required(ErrorMessage="DeviceStatus不能为空")]
		public DeviceStatusEnum DeviceStatus { get; set; }



		/// <summary>
		/// 访问类型名称列表
		/// </summary>
		public List<VerifiableTypeEnum> VerifiableTypes { get; set; }

	}
}